{% extends 'base.html' %}

{% block title %}
    <title>user</title>
{% endblock %}

{% block extcss %}
    <link rel="stylesheet" href="../static/css/user_home/user.css">
{% endblock %}

{% block head %}
    {{ super() }}
{% endblock %}

{% block body %}
    <div class="box1 clearfix">
        <div class="box2">
            <ul>
                <li><a href="/user/">我的信息</a></li>
                <li><a href="/wages/">我的工资</a></li>
                <li><a href="#">公司概况</a></li>
                <li><a href="#">提交意见</a></li>
            </ul>
        </div>
        <div class="box3">
            {% block one %}
                <form action="">
                  <table class="table">
                      <thead>
                        <tr>
                            <th>姓名</th>
                            <th>性别</th>
                            <th>电话号码</th>
                            <th>邮箱</th>
                            <th>部门</th>
                            <th>职位</th>
                        </tr>
                      </thead>
                      <tbody>
                      <tr>
                          <td>{{ users.name }}</td>
                          <td>
                              {% if users.gender == 1 %}
                          	    男
                              {% else %}
                                女
                              {% endif %}
                          </td>
                          <td>{{ users.number }}</td>
                          <td>{{ email }}</td>
                          <td>{{ users.department.name }}</td>
                          <td>{{ users.job.name }}</td>
                      </tr>
                      </tbody>
                  </table>
                </form>
            {% endblock %}
        </div>
    </div>
{% endblock %}

{% block foot %}
{% endblock %}